# /usr/bin/env python3.6
# -*- encoding: utf-8 -*-
"""
@File    : __init__.py.py
@Time    : 2020/2/6 0006 16:54
@Author  : zhangbing
@Email   : 18829172841@163.com
@Software: PyCharm
"""
from flask_restful import Api

from App.apis.common.city_api import CitiesResource
from App.apis.common.movie_api import MoviesResource, MovieResource

common_api = Api(prefix="/common")
common_api.add_resource(CitiesResource, '/cities/')
common_api.add_resource(MoviesResource, '/movies/')
common_api.add_resource(MovieResource, '/movies/<int:movie_id>')

if __name__ == "__main__":
    pass
